﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<!-- #section:basics/content.breadcrumbs -->
<div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="#">模块管理</a>
        </li>
        <li class="active">列表</li>
    </ul><!-- /.breadcrumb -->
</div>

<!-- /section:basics/content.breadcrumbs -->
<div class="page-content">
    <div class="row">
        <div class="col-md-12">
            <div class="col-md-3">
                <div class="widget-box widget-color-blue">
                    <div class="widget-header">
                    </div>
                    <div class="widget-body">
                        <div class="widget-main">
                            <ul id="orgtree" class="ztree" style="width: 100%"></ul>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-9">
                <div class="widget-box widget-color-blue">
                    <div class="widget-header">
                        @Html.Action("MenuHeader", "Home")
                    </div>
                    <div class="widget-body gridwidth">
                        <div class="widget-main">
                            <div class="row">
                                <div class="col-md-12 ">
                                    <table id="maingrid"></table>
                                    <div id="grid-pager"></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><!-- /.page-content -->
<!--编辑对话框-->
<div id="editDlg" style="display: none">
    <div class="col-xs-12">
        <form class="form-horizontal" id="editForm">

            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for=""> 功能模块名称 </label>
                <div class="col-sm-9">
                    <input type="text" id="Name" check-type="required" v-model="Name" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for=""> 主页面URL </label>
                <div class="col-sm-9">
                    <input type="text" id="Url" check-type="required" v-model="Url" />
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for=""> 图标 </label>
                <div class="col-sm-9">
                    <input type="text" id="IconName" check-type="required" v-model="IconName" />
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for=""> 排序号 </label>
                <div class="col-sm-9">
                    <input type="text" id="SortNo" check-type="required" v-model="SortNo" />
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for=""> 上级模块</label>
                <div class="col-sm-9">
                    <input id="ParentName" type="text" v-model="ParentName" />
                    <input id="ParentId" type="hidden" v-model="ParentId" />
                    <div id="menuContent" class="menuContent" style="display: none;">
                        <ul id="org" class="ztree"></ul>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>

<script src="~/BllScripts/grid.js"></script>
<script src="~/BllScripts/parentTree.js"></script>
<script src="~/BllScripts/ModuleManager.js"></script>
<script src="~/BllScripts/jqEvent.js"></script>